package com.example.utils.initializationconfig;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * TODO  本来按照上下顺序加载，使用@Order(0)之后加载顺序会变为前边
 *
 * @ClassName CommandLineAppStartupRunnerTwo
 * @Author xiaojiang
 * @Date 2021/9/28 下午 17:01
 */
@Component
@Order(0)
public class CommandLineAppStartupRunnerTwo implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {

        System.out.println("CommandLineRunner two ........");

    }

}
